
list1=[]

while True:
    n = input('输入一个数')
    if n not in  list1:
        list1.append(n)
        if len(list1) ==10:
            break

print(list1)